html {
    height: 100%;
}

body {
    padding: 0;
    height: calc(100% - 16px);
    display: flex;
    justify-content: center;
    transition: color 0.5s, background-color 0.5s;
    line-height: 1.6;
    font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu,
        Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    font-size: 15px;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

#app {
    height: 100%;
}

#app, .menu {
    width: calc(100% - 8px);
}

@media only screen and (min-width: 1024px) {
    #app, .menu {
        max-width: 1024px;
    }
}

@media only screen and (min-width: 1280px) {
    #app, .menu {
        max-width: 1280px;
    }
}

@media only screen and (min-width: 1536px) {
    #app, .menu {
        max-width: 1536px;
    }
}

.image-notification {
    padding: 25px !important;
    width: 310px !important;
    justify-content: space-evenly;
    user-select: none;
}

.image-notification > .el-notification__icon {
    height: auto !important;
    width: auto !important;
    align-items: start !important;
}

.center-both {
    display: flex;
    justify-content: center;
    align-items: center;
}

.center-horizontal {
    display: flex;
    justify-content: center;
}

.center-vertical {
    display: flex;
    align-items: center; 
}


.menu-container {
    width: 100%;
    z-index: 100;
    padding-top: 4px;
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    border-bottom: solid 1px var(--el-menu-border-color);
    position: fixed;
    top: 0;
    left: 0;
}

html.dark .menu-container {
    background-color: rgba(0, 0, 0, 0.5);
}

html.light .menu-container {
    background-color: rgba(255, 255, 255, 0.5);
}

.menu {
    border-bottom: 0;
    background-color: transparent;
}

/* ===== Scrollbar CSS ===== */
/* Firefox */
* {
    scrollbar-width: auto;
    scrollbar-color: rgba(163, 166, 173, 0.3) transparent;
}

/* Chrome, Edge, and Safari */
*::-webkit-scrollbar {
    width: 12px;
}

*::-webkit-scrollbar-thumb {
    background-color: rgba(163, 166, 173, 0.3);
    border-radius: 10px;
    border: 3px none transparent;
}

*::-webkit-scrollbar-thumb:hover {
    background-color: rgba(163, 166, 173, 0.5);
}